package cn.wyl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//服务注册与发现
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("cn.wyl.mapper")
@EnableFeignClients("cn.wyl.feignclient")
public class ProductServerApplication1040 {
    public static void main(String[] args) {
        SpringApplication.run(ProductServerApplication1040.class) ;
    }
}
